package com.dongnao.demo.database.db;

import java.util.List;

public interface IBaseDao<T> {
    long insert(T entity);

    int delete(T where);

    long update(T entity, T where);

    List<T> queryAll();

    List<T> query(T where);
}
